package com.gnerv.battle.boot.project.guard.service;

import com.gnerv.battle.boot.project.guard.model.bo.MonitorHostBO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorHostDTO;
import com.gnerv.battle.boot.project.guard.model.entity.MonitorHost;
import lombok.NonNull;

import java.util.List;

/**
 * @author Gnerv LiGen
 */
public interface MonitorHostService {

    boolean create(@NonNull MonitorHostBO monitorHostBO);

    boolean deleteByUkId(@NonNull String ukId);

    boolean updateByUkId(@NonNull MonitorHostBO monitorHostBO);

    MonitorHostDTO selectByUkId(@NonNull String ukId);

    List<MonitorHostDTO> listByName(String name, Integer page, Integer size);

    MonitorHostDTO selectByNodeUkId(String nodeUkId);
}
